package com.wrs.androidkeepalive

import org.java_websocket.WebSocket
import org.java_websocket.handshake.ClientHandshake
import org.java_websocket.server.WebSocketServer
import java.lang.Exception
import java.net.InetSocketAddress
import java.nio.ByteBuffer

open class UWebSocketServer(address: InetSocketAddress?) : WebSocketServer(address) {

    override fun onOpen(conn: WebSocket?, handshake: ClientHandshake?) {


    }

    override fun onClose(conn: WebSocket?, code: Int, reason: String?, remote: Boolean) {

    }

    override fun onMessage(conn: WebSocket?, message: String?) {
        TODO("Not yet implemented")
    }

    override fun onMessage(conn: WebSocket?, message: ByteBuffer?) {
        super.onMessage(conn, message)

    }

    override fun onError(conn: WebSocket?, ex: Exception?) {
        TODO("Not yet implemented")
    }

    override fun onStart() {
        TODO("Not yet implemented")
    }
}